package org.pumpkin;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class CloudClient1Ctr {
	
	@Value("${server.port}")
    String port;
    @RequestMapping("/hello")
    public String home() {
        return "hello world from port " + port;
    }

	@RequestMapping("/say")
	public String hello() {
		return "this is from  CloudClient1Ctr";
	}
}
